/*
** my_strdup.c for minishell2 in /home/lingla_j/work/tutorat/env
** 
** Made by julien linglain
** Login   <lingla_j@epitech.net>
** 
** Started on  Sat Mar  3 16:59:56 2012 julien linglain
** Last update Sat Mar  3 17:01:39 2012 julien linglain
*/

#include "mysh.h"

char	*my_strdup(char *s)
{
  char	*dest;

  dest = xmalloc((my_strlen(s) + 1) * sizeof(*dest));
  dest = my_strcpy(s);
  return (dest);
}
